package com.ruoyi.record.mapper;

import com.ruoyi.common.annotation.DataSource;
import com.ruoyi.common.enums.DataSourceType;
import com.ruoyi.record.domain.SummaryRecord;
import com.ruoyi.record.domain.query.SummaryRecordQuery;

/**
 * 统计表
 * @Author helen
 * @Date 2024-02-01 12:15
 */
public interface SummaryRecordMapper {

    /**
     * 查询数据统计详情
     */
    @DataSource(value = DataSourceType.SLAVE)
    SummaryRecord selectSummaryRecordByYear(SummaryRecordQuery summaryQuery);

}
